#ifndef _NesMapper_H_
#define _NesMapper_H_


typedef struct{
    /* mapper类别 */
    uint8_t mapperType;

    /* mapper操作函数指针 */
    void (*vMapperSetFunction)(uint16_t usAddr, uint8_t ucValue);

    /* mapper钩子函数指针 */
    void (*vMapperPPUHook)(uint32_t uiAddr, uint32_t uiValue);
}NesMapperInofType;


extern NesMapperInofType g_typeNesMapperInfo;


void vNesMapperTypeSet(uint8_t mapperType);


#endif
